package astoliarskyi.wicket.card.restriction;

import java.util.Calendar;

import astoliarskyi.wicket.card.UnsupportedForThisCardType;
import java.math.BigDecimal;

public abstract class RestrictionContainer {

	public abstract boolean checkout(Calendar dateToday);
	
	public Term.TermType getTermType() {
		throw new UnsupportedForThisCardType();
	}

	public TripNumber.TripNumberType getTripNumberType() {
		throw new UnsupportedForThisCardType();
	}

	public int getTripsLeft() {
		throw new UnsupportedForThisCardType();
	}

	public void rechargeBy(BigDecimal rechargeAmount) {
		throw new UnsupportedForThisCardType();
	}

	public Calendar getValidityTerm() {
		throw new UnsupportedForThisCardType();
	}

	public BigDecimal getMoneyLeft() {
		throw new UnsupportedForThisCardType();
	}
}
